<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        img{
            border-radius:50%;
           
           
            animation:animated 4s linear infinite;
            animation-play-state: paused;
             /* 动画执行状态 暂停 */
        }
        @keyframes animated{
        0%{
            transform:rotate(0deg)
            /* rotate 旋转 */
        }
        50%{
            transfrom:rotate(180deg)
        }
        100%{
            transform:rotate(360deg)
        }
    }
    img:hover{
    
        animation-play-state: running;
    }
    
    </style>
</head>
<body>
    
</body>
<img src="images/music.jpg" alt="">
</html>